import request from '@/utils/request'

// 查询定性信息评分列表
export function listScoring(query) {
  return request({
    url: '/system/scoring/list',
    method: 'get',
    params: query
  })
}

// 查询定性信息评分详细
export function getScoring(scoreId) {
  return request({
    url: '/system/scoring/' + scoreId,
    method: 'get'
  })
}

// 新增定性信息评分
export function addScoring(data) {
  return request({
    url: '/system/scoring',
    method: 'post',
    data: data
  })
}

// 修改定性信息评分
export function updateScoring(data) {
  return request({
    url: '/system/scoring',
    method: 'put',
    data: data
  })
}

// 删除定性信息评分
export function delScoring(scoreId) {
  return request({
    url: '/system/scoring/' + scoreId,
    method: 'delete'
  })
}
